package top.jolyoulu.codegenweb.entity.vo;

import lombok.Data;
import top.jolyoulu.codegenweb.entity.po.GlobalVariableMap;

/**
 * @Author: JolyouLu
 * @Date: 2023/4/15 16:19
 * @Description
 */
@Data
public class GlobalVariableMapVO {
    /**
     * id
     */
    private String id;

    /**
     * 属性
     */
    private String property;

    /**
     * 对应的变量
     */
    private String variable;

    public GlobalVariableMapVO(GlobalVariableMap globalVariableMap) {
        this.id = globalVariableMap.getId();
        this.property = globalVariableMap.getProperty();
        this.variable = globalVariableMap.getVariable();
    }
}
